package com.ks.user.service;

import com.ks.core.base.OperationContext;
import com.ks.user.entity.ApBase;
import com.ks.user.entity.ApTenantAllow;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 应用-租户授权对照表 服务类
 * </p>
 *
 * @author kingdee123
 * @since 2020-12-11
 */
public interface IApTenantAllowService extends IService<ApTenantAllow> {

    int appEmpower(OperationContext context, List<ApBase> apBaseList);

    Map<String, Object> selectEmpower(OperationContext context, int tenantId);

    int moveEmpower(OperationContext context, List<ApBase> apTenantAllowList);


    List<ApTenantAllow> getApTenantAllowList(int tenantId);
}
